<template>

<p>这是区域1</p>
</template>
<script setup>
import { ref,onMounted } from 'vue';
import { useRouter } from 'vue-router';
const route = useRouter();
onMounted(() => {
  setTimeout(() => {
    route.push("/2")// 刷新页面
  }, 1000);
})
</script>